import request from "@/utils/request";

export default {
  insert(questionId) {
    return request({
      url: `/feedback/insert/${questionId}`,
      method: "put",
    });
  },
  getAll() {
    return request({
      url: `/feedback/getAll`,
      method: "get",
    });
  },
  delete(id) {
    return request({
      url: `/feedback/delete/${id}`,
      method: "delete",
    });
  },
};
